package com.hzit.boot.service;

import com.hzit.boot.entity.PageResult;
import com.hzit.boot.entity.Student;

import java.util.List;

public interface StudentService {
	List<Student> findAll();

	PageResult<Student> findByPage(int page, int pageSize);

	PageResult<Student> search(int page, int pageSize, Student student);

	List<Student> findAll2();

	void add(Student stud);

	void update(Student stud);

	void delete(String sid);
}
